package com.shop.cereshop.admin.dao.order;

import com.shop.cereshop.commons.domain.order.CereOrderProduct;
import com.shop.cereshop.commons.domain.order.CereOrderProductAttribute;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CereOrderProductDAO {
    int insert(CereOrderProduct record);

    int insertSelective(CereOrderProduct record);

    void insertBatchAttibutes(@Param("list") List<CereOrderProductAttribute> list);
}